<?php

namespace app\model\pms;

use think\Model;

/**
 * t_goods_sku 商品规格值扩展表
 * @property integer $sku_id 主键id(主键)
 * @property integer $goods_id 商品ID
 * @property string $sku_name 属性索引
 * @property integer $stock 属性对应的库存
 * @property integer $sales 销量
 * @property string $price 属性金额
 * @property string $image 图片
 * @property string $unique 唯一值
 * @property string $cost_price 成本价
 * @property string $bar_code 商品条码
 * @property string $original_price 原价
 * @property string $weight 重量
 * @property string $volume 体积
 * @property string $spu 商品编号
 * @property string $create_time 创建时间
 */
class GoodsSku extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_goods_sku';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'sku_id';

    
}
